﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<title>更新</title>
<script type="text/javascript">
</script>
<div class="panel admin-panel">
	<div class="panel-head" id="add">
		<strong><span class="icon-pencil-square-o"></span>添加权限</strong>
	</div>
	<div class="body-content">
		<form method="post" class="form-x" action="auth/modify">
		<input type="hidden" name="authId" value="${auth.authId}">
			<div class="form-group">
				<div class="label">
					<label>权限名称: </label>
				</div>
				<div class="field">
					<input type="text" onchange="auth.exists(this)" class="input w50" id="authName" value="${auth.authName}" name="authName"
						data-validate="required:请输入权限名称" value="用户查询" />
					<div class="tips"></div>
				</div>
			</div>
			<div class="form-group">
				<div class="label">
					<label>权限代码: </label>
				</div>
				<div class="field">
					<input type="text" onchange="auth.exists(this)"  class="input w50" id="authCode" name="authCode"
						data-validate="required:请输入权限代码" value="${auth.authCode}" />
					<div class="tips"></div>
				</div>
			</div>
			<div class="form-group">
				<div class="label">
					<label>权限路径: </label>
				</div>
				<div class="field">
					<input type="text" onchange="auth.exists(this)" class="input w50" id="authPath" name="authPath"
						data-validate="required:请输入权限路径" value="${auth.authPath}" />
					<div class="tips"></div>
				</div>
			</div>
			<div class="clear"></div>

			<div class="form-group">
				<div class="label">
					<label></label>
				</div>
				<div class="field">
					<input class="button bg-main icon-check-square-o" type="submit" value="修改" />
				</div>
			</div>
		</form>
	</div>
</div>
